package com.vichat.room.entity;

import javax.persistence.*;

/***************
 *author: autogen
 *version: 2017-12-18 11:28:28.26
 */
@Entity
@Table(name = "typedef_ptt_ctrl", catalog = "roomdb")
public class TypedefPttCtrl implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	


    public static final String TABLE = "typedef_ptt_ctrl";

    /** */
	public static final String ALIAS_VALUE = "value";
    /** */
	public static final String ALIAS_DESC = "desc";
	
	

 	@Id
	@Column(name = "value", unique = true, nullable = false)
    public Long value = 0l;
  
 	@Column(name = "desc")
    public String desc;
  





	public Long getValue() {
		return this.value;
	}
	
	public void setValue(Long value) {
		this.value = value;
	}

	public String getDesc() {
		return this.desc;
	}
	
	public void setDesc(String value) {
		this.desc = value;
	}


	
	public TypedefPttCtrl() {
	}
	
	public TypedefPttCtrl(boolean qryflag) {
	    if(qryflag){
	    		this.value = null;
				this.desc = null;
			    }
	}


	public TypedefPttCtrl(
	    Long inValue,
		String inDesc
	 ) {
		super();
				this.value = inValue;
				this.desc = inDesc;
			}
}

